package com.yusys.pattern.regular.isolate;

public class PrettyGirl implements IPrettyGirl {
    private String name;

    public PrettyGirl(String name) {
        this.name = name;
    }

    public void goodLooking() {
        System.out.println(this.name+"好脸");
    }

    public void niceFigure() {
        System.out.println(this.name +"好身材");
    }

    public void greatTemperament() {
        System.out.println(this.name +"好脾气");
    }
}
